<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>$!{i18n.get("system")}$!{i18n.get("mng")}</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-form" lay-filter="LAY-form" id="LAY-form" style="padding: 20px 30px 0 0;">
	<input type="hidden" name="id" value="$!{id}"/>
  	<div class="layui-form-item">
	    <label class="layui-form-label">角色名称</label>
	    <div class="layui-input-block">
	      <input type="text" name="name" lay-verify="required" placeholder="$!{i18n.get('pleaseEn','roles','mc')}" autocomplete="off" class="layui-input" value="$!{name}">
	    </div>
  	</div>
  	<div class="layui-form-item">
	    <label class="layui-form-label">角色编码</label>
	    <div class="layui-input-block">
	      <input type="text" name="code" placeholder="$!{i18n.get('pleaseEn','roleCode')}" autocomplete="off" class="layui-input" value="$!{code}">
	    </div>
  	</div>
  	<div class="layui-form-item">
	    <label class="layui-form-label">角色描述</label>
	    <div class="layui-input-block">
	      <textarea name="note" autocomplete="off" class="layui-textarea">$!{note}</textarea>
	    </div>
  	</div>
  	<div class="layui-form-item layui-hide">
    	<input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="$!{i18n.get('submit')}">
    	<input type="button" lay-submit lay-filter="LAY-form-update" id="LAY-form-update" value="$!{i18n.get('update')}">
  	</div>
</div>
#parse('/footFiles.html')
<script type="text/javascript">
  layui.config({
    base: '$!{webRoot}/assets/layuiadmin/'
  }).extend({
    index: 'lib/index'
  }).use(['index', 'form'], function(){
    var $ = layui.$,form = layui.form;
  });
</script>
</body>
</html>